Computer Graphics Laboratory ETH Zurich

ETH

Informatik I - D-ITET (WS 05/06) - Exercises

Home | Course Notes | Exercises | Schedule

Exercise Groups

 

Exercises

  • The exercises will be made available online during the semester.

  • Exercise 0: Unix Introduction
  • Exercise 1: Variables and Datatypes I
  • Exercise 2: Variables and Datatypes II
  • Exercise 4: Arrays, Strings & Structs
  • Exercise 5: Control Flow
  • Exercise 6: Pointers
  • Exercise 7: Pointers II
  • Exercise 8: File I/O and Functions
  • Exercise 9: Functions II
  • Exercise 10: Classes I
  • Exercise 11: Classes II
  • Exercise 12: Classes III

Questions concerning the exercises

If you encounter some problems while solving or implementing the exercises, search for an answer in the Informatik I newsgroup. If you cannot find an answer post your question yourself. Otherwise don't hesitate to contact your assistant.

Computer-Rooms

Please use your personal account at ETHZ for the exercises. There are several rooms available with adequate hardware:
  • ETZ D96
  • ETL F11

An assistant will be at ETZ D96 every Wednesday and Friday from 1-3 p.m. During this time, the computers are reserved for students of the first semester.

Excercise-Rooms

The following locations are reserved for the exercise lessons. Maps with the location of the buildings can be found on-line.

Room: Assistant: Day: Time:
ETZ J91 Theodor Mader
(tmaderstudent.ethz.ch)
Monday 14.15-16.00
ETZ F91 Michael Gomez
(gomezmstudent.ethz.ch)
Monday 14.15-16.00
ETZ G91 Omar Awile
(oawilestudent.ethz.ch)
Monday 14.15-16.00
IFW A34 Michael Waschbüsch
(waschbueschinf.ethz.ch),
Filip Sadlo
(sadlofinf.ethz.ch)
Monday 14.15-16.00
RZ F21 Jürgen Doser
(doserjinf.ethz.ch)
Monday 14.15-16.00
ETZ F91 Dominik Uebersax
(dominikustudent.ethz.ch)
Monday 17.15-19.00
ETZ G91 Remo Marti
(martirestudent.ethz.ch)
Monday 17.15-19.00
ETZ H91 Sebastian Mödersheim
(moedersheiminf.ethz.ch)
Monday 17.15-19.00

 

Mini Project

In addition to the weekly exercises, there is a small programming project. The project has to be completed until February 1st, 2005. The project adds up to 110 points to the attestation. It will be assigned on November 2th, 2005. A detailed project description is available as PDF. Furthermore, the introductory slides presented in class are available as PDF.

The project uses a given C framework which is available as a .tar.gz file. The framework's program documentation is located at http://graphics.ethz.ch/~deniss/info-i/painter/.

Read the section Related Pages first. Optionally, you can also download the documentation as a .tar.gz file. Most students should be able to start with the project after christmas. However, some of the more experienced might start earlier and probably would like to join the programming contest. More information to the contest is given in the PDF project description. The file pictures.tar.gz contains a collection of sample images, which can be used for testing your code. The painter framework reads by default the file in.tif.

Evaluation schedule of the miniproject's mandatory exercises: The evaluation takes place in ETZ D96 on February 1st or 3rd at 1-3 p.m. depending on your exercise group:
  • Exercise groups on Wednesday, February 1st:
    Sebastian Mödersheim, Michael Gomez, Omar Awile, Michael Waschbüsch/Filip Sadlo.
  • Exercise groups on Friday, February 3rd:
    Jürgen Doser, Dominik Uebersax, Remo Marti, Theodor Mader.
Since most students seem to be working on their own laptops, we’ve decided that you may present the miniproject on your own laptops as well. Nonetheless, the presentation will still take place in ETZ D96. It will be presented to your assistant, who will give the corresponding credit points.

Contest. If you want to take part in the contest, you must send your project, including documentation, to denissinf.ethz.ch, until January 31, 24.00 (NOT February 1st, 18.00, as it says in the project task description!!). Additionally, contest entries must be presented to Denis Steinemann and Stephan Würmlin during the normal submissions on February 1 and 3.

Solution. The solution of the miniproject is now available for download: painter-ws0506-ml.tar.gz.

Contest winners of 2006

The prices were awarded to:

Contest winners of 2003

The prices were awarded to:

Contest winners of 2002

The prices were awarded to:
 

Additional Information

General Information & Instructions

  • Coordination
    The coordination of the exercises is managed by Stephan Würmlin (IFW C25.1, Tel. 2 60 86, wuermlininf.ethz.ch).
  • Web-Maintenance
    Questions, suggestions or corrections regarding the webpage or forum can also be addressed to Stephan Würmlin.

Literature

The lecture will follow:
  • S. Prata: C++ Primer Plus. 5th Edition, Sams Publishing, 2004.
Other books about C/C++:
  • Bjarne Stroustrup: The C++ Programming Language. Addison Wesley (also available in german).
  • Deitel & Deitel: C++, How to Program. 3rd Edition, Prentice Hall (Multimedia Labs, OO-Design, UML)
  • Dirk Louis: C/C++ New Reference. Markt + Technik Verlag
  • Herbert Schildt: C/C++ Ge-Packt. MITP Verlag
  • Jan Skansholm: C++ From The Beginning. Addison Wesley
  • Paul Davis: The Indispensable Guide to C. Addison Wesley
  • Mark Sobell: A Pratical Guide to the UNIX System. Addison Wesley
  • A. Tanenbaum: Structured Computer Organization. Prentice Hall

Internet Links